<template>
  <div class="baseCenter container">
    <van-nav-bar title="关于我们" left-arrow @click-left="$router.back()" />
    <div class="Main">
      <img :src="baseInfo.src" />
      <p>{{baseInfo.name}}</p>
      <p>当前版本:{{baseInfo.Version}}</p>
    </div>
    <div class="Cell">
      <div class="cell-item">
        <span>版本更新</span>
        <i>
          检查更新
          <van-icon name="arrow" />
        </i>
      </div>
      <div class="cell-item">
        <span>免责声明</span>
        <i>
          <van-icon name="arrow" />
        </i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'YscShopBasecenter',

  data () {
    return {
      baseInfo: {}
    };
  },
  created () {
    this.baseInfo = this.$store.state.baseCenter.baseInfo
  },
  computed: {
    // ...mapState(['baseInfo']),
  },
  mounted () {
  },

  methods: {

  },
};
</script>

<style lang="less" scoped>
.Main {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  img {
    width: 80px;
    height: 80px;
  }
  p:nth-child(2) {
    margin: 5px 0px;
  }
  p {
    font-size: 14px;
  }
}
.Cell {
  width: 100%;
  background-color: #fff;
  .cell-item {
    line-height: 40px;
    font-size: 14px;
    border-top: 0.5px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 0px 15px;
    align-items: center;
    i {
      color: gray;
      font-size: 12px;
    }
  }
}
</style>